//
//  CPColor.swift
//  CJPackDemo
//
//  Created by 陈警卫 on 2023-12-05.
//

import UIKit
import Foundation
import CJPack

class CPColor {
    
    // MARK: 背景颜色
    /// 背景颜色
    @objc class var back: CJSkinModel {
        let param = ["any": "E5E5E5", "dark": "1E1E1E"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
    // MARK: 前景颜色
    /// 前景颜色
    @objc class var fore: CJSkinModel {
        let param = ["any": "000000", "dark": "FFFFFF"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
    // MARK: 后景颜色
    /// 后景颜色
    @objc class var fter: CJSkinModel {
        let param = ["any": "FFFFFF", "dark": "000000"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
}

extension CPColor {
    
    // MARK: 突显前景颜色
    /// 突显前景颜色
    @objc class var vista: CJSkinModel {
        let param = ["any": "FFFFFF", "dark": "3C3C3C"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
    // MARK: 中和颜色
    /// 中和颜色
    @objc class var midd: CJSkinModel {
        let param = ["any": "929292", "dark": "929292"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
}

extension CPColor {
    
    /// tab背景颜色
    @objc class var tabBack: CJSkinModel {
        let param = ["any": "E5E5E5", "dark": "1E1E1E"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
    /// tab未选颜色
    @objc class var tabUnSel: CJSkinModel {
        let param = ["any": "929292", "dark": "929292"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
    /// tab选中颜色
    @objc class var tabSel: CJSkinModel {
        let param = ["any": "000000", "dark": "FFFFFF"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
}

extension CPColor {
    
    /// nav背景颜色
    @objc class var navBack: CJSkinModel {
        let param = ["any": "E5E5E5", "dark": "1E1E1E"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
    /// nav前景颜色
    @objc class var navTint: CJSkinModel {
        let param = ["any": "000000", "dark": "FFFFFF"]
        let key = #function
        let model = CJSkinModel.model(key: key, param: param)
        return model
    }
    
}
